home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / tex-k-archive.gz / tex-k-archive / 000387_interran@uluru.Stanford.EDU_Mon Mar 14 06:13:00 1994.msg < prev    next >
Internet Message Format  |  1994-10-11  |  5KB

  1. Received: from uluru.Stanford.EDU by cs.umb.edu with SMTP id AA13517
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Mon, 14 Mar 1994 17:10:14 -0500
  3. Received: by uluru.Stanford.EDU (4.1/inc-1.0)
  4.     id AA23176; Mon, 14 Mar 94 14:13:00 PST
  5. Date: Mon, 14 Mar 94 14:13:00 PST
  6. From: interran@uluru.Stanford.EDU (John Interrante)
  7. Message-Id: <9403142213.AA23176@uluru.Stanford.EDU>
  8. To: tex-k@cs.umb.edu
  9. Subject: web2c-6.1: mf/Makefile.in should not pass down srcdir
  10.  
  11. I am not sure why no one except me seems to encountered this problem.
  12. I read the tex-k mail archive before building web2c-6.1 and no one
  13. mentioned getting this problem.  Perhaps using GNU make 3.70 instead
  14. of Sun's make or merging dvipsk-5.528a, web2c-6.1, and xdvik-1.7 into
  15. one directory had something to do with it.  The problem is that
  16. web2c/mf/Makefile passes srcdir down to web2c/mf/MFwindow/Makefile and
  17. this value for srcdir overrides the value assigned to srcdir in
  18. web2c/mf/MFwindow/Makefile.  As a result, none of the MFwindow source
  19. files will compile because they can't find the header files they need
  20. from -I$(srcdir)../../lib:
  21.  
  22. make[3]: Entering directory `/home/uluru/src/TeX/ktexmf-5.528a,6.1,1.7/web2c/mf/MFwindow'
  23. gcc -I/home/uluru/src/TeX/ktexmf-5.528a,6.1,1.7/web2c/mf/../../lib -I../../.. -I. -I/usr/X11R5/include -O  -c hp2627.c
  24. In file included from hp2627.c:6:
  25. ../mfd.h:5: texmf.h: No such file or directory
  26. ../mfd.h:43: texmfmem.h: No such file or directory
  27. make[3]: *** [hp2627.o] Error 1
  28. gcc -I/home/uluru/src/TeX/ktexmf-5.528a,6.1,1.7/web2c/mf/../../lib -I../../.. -I. -I/usr/X11R5/include -O  -c next.c
  29. In file included from next.c:17:
  30. ../mfd.h:5: texmf.h: No such file or directory
  31. ../mfd.h:43: texmfmem.h: No such file or directory
  32. make[3]: *** [next.o] Error 1
  33. gcc -I/home/uluru/src/TeX/ktexmf-5.528a,6.1,1.7/web2c/mf/../../lib -I../../.. -I. -I/usr/X11R5/include -O  -c regis.c
  34. In file included from regis.c:5:
  35. ../mfd.h:5: texmf.h: No such file or directory
  36. ../mfd.h:43: texmfmem.h: No such file or directory
  37. make[3]: *** [regis.o] Error 1
  38. rm -f sun.c
  39. ln /home/uluru/src/TeX/ktexmf-5.528a,6.1,1.7/web2c/mf/../../mf/MFwindow/sun-xview.c sun.c
  40. ln: /home/uluru/src/TeX/ktexmf-5.528a,6.1,1.7/web2c/mf/../../mf/MFwindow/sun-xview.c: No such file or directory
  41. make[3]: *** [sun.c] Error 1
  42. gcc -I/home/uluru/src/TeX/ktexmf-5.528a,6.1,1.7/web2c/mf/../../lib -I../../.. -I. -I/usr/X11R5/include -O  -c tek.c
  43. In file included from tek.c:4:
  44. ../mfd.h:5: texmf.h: No such file or directory
  45. ../mfd.h:43: texmfmem.h: No such file or directory
  46. make[3]: *** [tek.o] Error 1
  47. gcc -I/home/uluru/src/TeX/ktexmf-5.528a,6.1,1.7/web2c/mf/../../lib -I../../.. -I. -I/usr/X11R5/include -O  -c uniterm.c
  48. In file included from uniterm.c:23:
  49. ../mfd.h:5: texmf.h: No such file or directory
  50. ../mfd.h:43: texmfmem.h: No such file or directory
  51. make[3]: *** [uniterm.o] Error 1
  52. gcc -I/home/uluru/src/TeX/ktexmf-5.528a,6.1,1.7/web2c/mf/../../lib -I../../.. -I. -I/usr/X11R5/include -O  -c x10.c
  53. In file included from x10.c:8:
  54. ../mfd.h:5: texmf.h: No such file or directory
  55. ../mfd.h:43: texmfmem.h: No such file or directory
  56. make[3]: *** [x10.o] Error 1
  57. gcc -I/home/uluru/src/TeX/ktexmf-5.528a,6.1,1.7/web2c/mf/../../lib -I../../.. -I. -I/usr/X11R5/include -O  -c x11.c
  58. In file included from x11.c:5:
  59. ../mfd.h:5: texmf.h: No such file or directory
  60. ../mfd.h:43: texmfmem.h: No such file or directory
  61. make[3]: *** [x11.o] Error 1
  62. make[3]: Target `default' not remade because of errors.
  63. make[3]: Leaving directory `/home/uluru/src/TeX/ktexmf-5.528a,6.1,1.7/web2c/mf/MFwindow'
  64. make[2]: *** [MFwindow/window.a] Error 1
  65. make[2]: Target `all' not remade because of errors.
  66. make[2]: Leaving directory `/home/uluru/src/TeX/ktexmf-5.528a,6.1,1.7/web2c/mf'
  67.  
  68. When I looked at web2c/mf/Makefile, I found out that it explicitly
  69. passes srcdir down to web2c/mf/MFwindow/Makefile.  This can't possibly
  70. be the right thing to do since configure generates both Makefiles and
  71. web2c/mf/MFwindow/Makefile already has the correct value for its own
  72. srcdir.
  73.  
  74. *** web2c/mf/Makefile.in.save    Thu Feb  3 04:48:35 1994
  75. --- web2c/mf/Makefile.in    Mon Mar 14 13:30:15 1994
  76. ***************
  77. *** 71,78 ****
  78.   
  79.   # What to pass to submakes.
  80.   makeargs=SHELL='$(SHELL)' CC='$(CC)' CFLAGS='$(CFLAGS)' \
  81. ! LDFLAGS='$(LDFLAGS)' LIBS='$(libs)' RANLIB='$(RANLIB)' LN='$(LN)' \
  82. ! srcdir=$(srcdir)  
  83.   
  84.   
  85.   .SUFFIXES:
  86. --- 71,77 ----
  87.   
  88.   # What to pass to submakes.
  89.   makeargs=SHELL='$(SHELL)' CC='$(CC)' CFLAGS='$(CFLAGS)' \
  90. ! LDFLAGS='$(LDFLAGS)' LIBS='$(libs)' RANLIB='$(RANLIB)' LN='$(LN)'
  91.   
  92.   
  93.   .SUFFIXES:
  94.  
  95. When I made the change above, regenerated the Makefile, and reran
  96. "make -k all," everything worked this time.  I think you should
  97. install this change since it can't possibly be necessary to pass
  98. srcdir down to a Makefile which already has the correct value defined
  99. for srcdir.